/*
 * @Description: 功能性接口
 * @Author: Yong
 * @Date: 2021-09-27 21:34:48
 * @LastEditTime: 2021-09-27 21:45:32
 */
import { Http } from '../utils'

const API = {
    houseImageUpload: '/houses/image',
}

/**
 * 图片上传
 * @param
 */
export const houseImageUpload = function (from) {
    const headers = { 'Content-Type': 'multipart/form-data' }
    return Http('post', API.houseImageUpload, from, headers)
}